Remove assorted G_OBJECT casts where unnecessary.
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Thu, 13 Dec 2001 21:22:12 +0000 (21:22 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Thu, 13 Dec 2001 21:22:12 +0000 (21:22 +0000)
commitd99bd97fe86bc13dbb483e174722eb68e916781f
treedb4c4a56f167c57efd6de8da7cc119201cef2570
parentd3403353cbd651a18264c4c28044c6c78c49b938
Remove assorted G_OBJECT casts where unnecessary.

2001-12-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c,
io-gif-animation.c, io-gif.c, io-tiff.c, test-loaders.c: Remove
assorted G_OBJECT casts where unnecessary.

* gdk-pixbuf-loader.c: Call g_object_ref and g_object_unref
instead of gdk_pixbuf_animation_ref and gdk_pixbuf_animation_unref
resp.

* gdk-pixbuf-csource.c, io-bmp.c, io-gif-animation.c, io-ico.c,
io-jpeg.c, io-png.c, io-pnm.c, io-ras.c, io-tga.c, io-wbmp.c,
io-xbm.c, io-xpm.c, test-gdk-pixbuf.c: Dito for gdk_pixbuf_ref and
gdk_pixbuf_unref.

* Makefile.am, pixops/Makefile.am: Compile everything with
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED

* gdk-pixdata.c: Use g_ascii_strup() instead of g_strup().

* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().

* demos/testpixbuf-drawable.c, demos/testpixbuf-save.c,
demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref
and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref
resp.
34 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
demos/testpixbuf-drawable.c
demos/testpixbuf-save.c
demos/testpixbuf-scale.c
demos/testpixbuf.c
gdk-pixbuf/ChangeLog
gdk-pixbuf/Makefile.am
gdk-pixbuf/gdk-pixbuf-animation.c
gdk-pixbuf/gdk-pixbuf-csource.c
gdk-pixbuf/gdk-pixbuf-loader.c
gdk-pixbuf/gdk-pixbuf.c
gdk-pixbuf/gdk-pixdata.c
gdk-pixbuf/io-bmp.c
gdk-pixbuf/io-gif-animation.c
gdk-pixbuf/io-gif.c
gdk-pixbuf/io-ico.c
gdk-pixbuf/io-jpeg.c
gdk-pixbuf/io-png.c
gdk-pixbuf/io-pnm.c
gdk-pixbuf/io-ras.c
gdk-pixbuf/io-tga.c
gdk-pixbuf/io-tiff.c
gdk-pixbuf/io-wbmp.c
gdk-pixbuf/io-xbm.c
gdk-pixbuf/io-xpm.c
gdk-pixbuf/pixops/Makefile.am
gdk-pixbuf/test-gdk-pixbuf.c
gdk-pixbuf/test-loaders.c